package com.log6z.dashborad.exception;


import lombok.Getter;

/**
 * 描述：系统平台异常
 *
 * @author
 * @date 2019/8/26 16:58
 */

@Getter
public class PlatformException extends RuntimeException{

    private Integer code = 500;

    private String message;
    public PlatformException() {}



    public PlatformException(Integer code, String message) {
        this.code = code;
        this.message = message;

    }

    public PlatformException(String message) {
        this(500,message);
    }


}
